package ua.net.gm.server;

import ua.net.gm.common.matter.MatterId;
import ua.net.gm.server.player.PlayerId;
import ua.net.gm.server.world.Universe;
import ua.net.gm.server.world.WorldId;

/**
 * Game Server class
 *
 * @author syar
 */
public class Server
{
    private final ServerEntitySupport entitySupport;
    
    private final Universe universe; // One universe on server

    public Server()
    {
        entitySupport = new ServerEntitySupport();
        universe = new Universe(entitySupport);
    }

    public void start()
    {
        entitySupport.initDictCatalog();
        // init and run      
        universe.bigBang();
    }

    public static void main(String[] args)
    {
        Server server = new Server();
        server.start();
    }
}
